package com.totoro.tymapping.constants;

import com.totoro.tymapping.utils.ColorUtil;

import java.nio.file.FileSystems;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author Totoro
 * @version 0.1.0
 * @date 2025/8/13 - 2:44
 * @description 静态系统变量
 **/
public class StaticSystemVarConst {
    public static final String CONSOLE_PREFIX = ColorUtil.color("&d[TyMapping] ");
    /* 空Map */
    public static final Map EMPTY_MAP = Collections.emptyMap();
    /* 空List */
    public static final List EMPTY_LIST = Collections.emptyList();
    /* PAPI变量是否安装 */
    public static Boolean dependentPlaceholderAPIEnable = Boolean.TRUE;
    /* 龙之核心是否安装 */
    public static Boolean dependentDragonCoreEnable = Boolean.TRUE;
    /* 语言配置文件默认保存路径 */
    public static final String LANGUAGE_CONFIG_DEFAULT_NAME = "language.yml";
    /* 对应操作系统的文件分隔符 */
    public static final String FILE_SEPARATOR = FileSystems.getDefault().getSeparator();
    /* language中对应的Gui配置名 */
    public static final String LANGUAGE_GUI = "gui";
    /* language中对应的Msg配置名 */
    public static final String LANGUAGE_MSG = "msg";
}
